﻿using System;

namespace DotUpdater
{
    /// <summary>
    /// Stub logger instead of EntLib's one
    /// </summary>
    public class Logger
    {
        public virtual void LogWarning(string info)
        {
        }

        public virtual void LogException(Exception exception)
        {
        }

        public virtual void LogAndThrowException(Exception exception)
        {
            LogException(exception);
            throw exception;
        }
    }
}
